package cn.xm.org.domain;

import cn.xm.basic.domain.BaseDomain;
import cn.xm.user.domain.Logininfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emp extends BaseDomain {


    private String username;
    private String phone;
    private String email;
    // 盐值
    private String salt;
    private String password;
    private Integer age;
    private Integer state = 0;
    // 所属部门id
    private Long departmentId;
    // 登录信息的id
    private Long logininfoId;
    // 所属店铺的id
    private Long shopId;

    private Department department;
    private Logininfo logininfo;
    private Shop shop;

    private String confirmPassword;

}
